<<<<<<< HEAD
<template>
    <div>
            <van-row>
            <Hearders />
            <van-col span="4">
                <Left />
            </van-col>
            
            <van-col span="14" style="padding-top: 10px ;">
                职务名称:<input type="text" placeholder="请输入职务名称">
                职务编码:<input type="text" placeholder="请输入职务编码">
        
                <button>查询</button>&ensp;&ensp;
                <button>重置</button>
                <br>
                <button>新增</button>&ensp;&ensp;
                <button>删除</button>&ensp;&ensp;
                <van-uploader :after-read="afterRead"  >
                    <button>导入</button>
                </van-uploader>&ensp;&ensp;
                <button @click="daochu">导出</button>&ensp;&ensp;
                <br>
                <table border="1px" style="width: 1000px;">
                    <tr>
                        <td>
                            <input type="checkbox">
                        </td>
                        <td>序号</td>
                        <td>职务名称</td>
                        <td>职务编码</td>
                        <td>职务排序</td>
                        <td>操作</td>
                    </tr>
                    <tr v-for="i in getjoblist" :key="i.id">
                        <td>
                            <input type="checkbox"  :value="i.id">
                        </td>
                        <td>{{i.id}}</td>
                        <td>{{i.name}}</td>
                        <td>{{i.jobcode}}</td>
                        <td>{{i.jobasc}}</td>
                        <td></td>
                    </tr>
                </table>

            </van-col>
            </van-row>

    </div>
</template>

<script>
import Hearders from '../comm/hearders'
import Mycomany from '../comm/mycomany'
import Left from '../comm/left.vue'
//分装
import axios from '../../http/axios'
    export default {
        components: { Hearders ,Left, Mycomany}, 
        data() {
            return {
                getjoblist:[],
            }
        },
        methods: {
             //获取用户管理数据
                getjob(){
                    axios('/comany/getjob/','get').then(res=>{
                        console.log(res)
                        this.getjoblist = res.list
                    })
                },
        },
        mounted() {
            this.getjob()
        },
    }
</script>

<style scoped>

=======
<template>
    <div>
            <van-row>
            <Hearders />
            <van-col span="4">
                <Left />
            </van-col>
            
            <van-col span="14" style="padding-top: 10px ;">
                职务名称:<input type="text" placeholder="请输入职务名称">
                职务编码:<input type="text" placeholder="请输入职务编码">
        
                <button>查询</button>&ensp;&ensp;
                <button>重置</button>
                <br>
                <button>新增</button>&ensp;&ensp;
                <button>删除</button>&ensp;&ensp;
                <van-uploader :after-read="afterRead"  >
                    <button>导入</button>
                </van-uploader>&ensp;&ensp;
                <button @click="daochu">导出</button>&ensp;&ensp;
                <br>
                <table border="1px" style="width: 1000px;">
                    <tr>
                        <td>
                            <input type="checkbox">
                        </td>
                        <td>序号</td>
                        <td>职务名称</td>
                        <td>职务编码</td>
                        <td>职务排序</td>
                        <td>操作</td>
                    </tr>
                    <tr v-for="i in getjoblist" :key="i.id">
                        <td>
                            <input type="checkbox"  :value="i.id">
                        </td>
                        <td>{{i.id}}</td>
                        <td>{{i.name}}</td>
                        <td>{{i.jobcode}}</td>
                        <td>{{i.jobasc}}</td>
                        <td></td>
                    </tr>
                </table>

            </van-col>
            </van-row>

    </div>
</template>

<script>
import Hearders from '../comm/hearders'
import Mycomany from '../comm/mycomany'
import Left from '../comm/left.vue'
//分装
import axios from '../../http/axios'
    export default {
        components: { Hearders ,Left, Mycomany}, 
        data() {
            return {
                getjoblist:[],
            }
        },
        methods: {
             //获取用户管理数据
                getjob(){
                    axios('/comany/getjob/','get').then(res=>{
                        console.log(res)
                        this.getjoblist = res.list
                    })
                },
        },
        mounted() {
            this.getjob()
        },
    }
</script>

<style scoped>

>>>>>>> f005cb9ce1180a75de9e3b50835909deb51b65fb
</style>